<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?=$head?>
        <title><?=$head_title?></title>
        <?=$styles?>
        <?=$scripts?>
    </head>
    <body>
        <div id="wrapper">
            <div id="logo">
                <h1><a href="#"><img src="<?=check_url($logo)?>" alt="<?=$site_title?>"></a></h1>
                <!--search-->
            </div>
            <div>
            <?php if (isset($primary_links)) : ?>
              <?php print theme('lavalinks', $primary_links, array('class' => 'lavaLamp')) ?>
            <?php endif; ?>
            </div>
            <div style="height: 292px;"></div>
            <div id="contentWrapper">
                <div id="sidebar">
                    <?=$left?>
                </div> <!--sidebar-->
                <div id="content">
                <?=$header?>
                    <div class="mmorpgList">
                        <h2 class="headerH2">
                            <strong class="fltLeft"><?=$title?></strong>
                        </h2>
                          <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
                          <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
                          <?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
                          <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
                          <?php if ($show_messages && $messages): print $messages; endif; ?>
                          <?php print $help; ?>
                          <?=$content?>
                    </div>
                    <div class="fltClear"></div>
                    <div class="content_2">
                        <?=$bottom_left?>
                    </div> <!--content_2-->

                    <div class="content_2">
                        <?=$bottom_right?>
                    </div> <!--content_2-->

                    <div class="fltClear"></div>
                    <div class="content3">
                        <?=$bottom?>
                    </div> <!--content3-->
                    <div class="fltClear"></div>
                </div><!--content-->
                <div class="fltClear"></div>
            </div><!--contentWrapper-->
            <div id="footer">
                <div class="footerLogo"><a href="#"><img src="<?=$base_path.$directory?>/images/footer_logo.jpg" alt=""></a></div>
                <div class="copyright">
                    Copyright GuildConnections 2008 © | <a href="#">Terms of Use</a> | <a href="#">Privacy Policy</a><br>
                    GuildConnections is the biggest and best Free MMORPG Directory on the net
                </div>
                <div class="backToTop"><a href="#">Back To Top</a></div>
            </div><!--footer-->
        </div><!--wrapper-->
    </body>
</html>
